package com.heyun.dao;

import java.util.List;

import com.heyun.bean.HeyunDept;
import com.heyun.bean.HeyunSalesPlan;
import com.heyun.bean.HeyunSalesPre;

public interface SalesPreDao {
	//查询所有的部门名称
	public List<HeyunDept> getDeptName();
	
	//根据部门id查找部门规模及部门客户 
	public HeyunDept getCustomsAndPersons(int deptId);
	
	//保存销售预测数据
	public void saveSalesPre(HeyunSalesPre hsp);
	
    //页面加载时在页面的table展示部分销售预测的数据
	public List<HeyunSalesPre> getSalesPre();
	
	//根据月份查看销售预测
	public List<HeyunSalesPre> findSalesPreByMonth(String preMonth);
	
	//根据id查看销售预测
	public HeyunSalesPre findSalesPreById(int salesPreId);
	
	
	
}